fix(providers): update SenseNova Token Plan support - #6330
Merged
diegosouzapw merged 1 commit intoJul 10, 2026
Merged
diegosouzapw merged 1 commit into
diegosouzapw merged 1 commit into
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://token.sensenova.cn/v1/chat/completions.sensenova-6.7-flash-lite,deepseek-v4-flash, andglm-5.2.max_tokensto SenseNova./v1/modelsendpoint derived from the corrected Token Plan base URL.Related Issues
Validation
npm run lintnpm run test:unitnpm run test:coverage>= 60%for statements, lines, functions, and branchesTargeted validation run locally:
DISABLE_SQLITE_AUTO_BACKUP=true node --max-old-space-size=8192 --import tsx --import ./open-sse/utils/setupPolyfill.ts --import ./tests/_setup/isolateDataDir.ts --test --test-force-exit tests/unit/model-capabilities-registry.test.ts tests/unit/sensenova-provider.test.tsnpm run typecheck:corenpm run check:provider-assetsNot run locally:
npm run check:provider-consistencyrequiresbun; this local environment does not havebuninstalled.Tests Added Or Updated
tests/unit/sensenova-provider.test.tscovering:https://token.sensenova.cn/v1/modelsCoverage Notes
open-sse/config/providers/registry/sensenova/index.tsandopen-sse/config/constants.ts.Reviewer Notes
sensenova-u1-fastis intentionally not exposed as a chat model because it is currently advertised by/v1/modelsbut returns chat-completions 404 for the tested Token Plan account./v1/modelsroute exists: unauthenticated probing returns 401Authorization Not Found, not a provider-validation unsupported response.